/*
 *
 */

package portalsprototype;

import java.awt.Image;
import java.awt.Toolkit;


/**
 *
 * @author Oscar
 */
public class Window {
    public String title;
    public String subtitle;
    public Image image;

    public Window(String title, String subtitle, Image image) {
        this.title = title;
        this.subtitle = subtitle;
        this.image = image;
    }
    
    public Window(String title, String subtitle, String imagePath) {
        Image image = Toolkit.getDefaultToolkit().getImage(imagePath);
        this.title = title;
        this.subtitle = subtitle;
        this.image = image;
    }
}
